<!doctype html>
<html>
{include file="head.html"}

<body>
<div class="header" >
    <a class="left-btn pointer" href="{$appkoudai}?m=koudai_dz"><span class="iconfont icon-back"></span></a>
    <div class="title">订单管理</div>
    <div class="right-btn" id="showSearch"><span class="iconfont icon-search"></span></div>
     
  </div>
 
<div class="row">
 
<form method="get" action="{$appkoudai}">
<input type="hidden" name="m" value="koudai_order" />
<input type="hidden" name="a" value="default" />
<input type="hidden" name="isdz" value="1">
<div class="pd-5" id="searchBox" style="display:none">
<div class="input-row"><label >订单号</label><input type="text" name="orderno" value="{$smarty.get.orderno}" /></div>
<div class="input-row"><label>用户</label><input type="text" name="nickname" value="{$smarty.get.nickname}" /></div>
 
<div class="form-btns">
<button type="submit"   class="btn btn-warning btn-row" />搜索</button>
</div>
</div>
</form>
 
<div class="uclist" >
{foreach item=c from=$data}
<div class="item">
	<div class="pd">
    <div class="hd">
        <span class="left">{$order_status_list[$c.status]}</span>
        <span class="right">订单号:{$c.orderno}</span>
    </div>
    <div class="address"><span>姓名：{$c[address].truename} 电话：{$c[address].telephone}</span>  
    <span>{$c[address].p_c_t} 宿舍{$c[address].sushe}</span></div>
    <div class="dateline">{$c.dateline|date:Y-m-d H:i:s}</div>
    <div class="pay">金额：{$c.money} &nbsp; {$order_ispay[$c.ispay]}  {if $c.unpay}货到付款{/if} </div>
    
     <div class="tools"><a href="{$appkoudai}?m=koudai_dz&a=get&order_id={$c.order_id}">我要对账</a> &nbsp;&nbsp;

</div>
</div>
</div>
 
{/foreach}
{$pagelist}
</div>
 <script language="javascript" src="/plugin/My97DatePicker/WdatePicker.js"></script>
<script>
$(function(){
	
	$("#showSearch").on(CLICK,function(){
		$("#searchBox").toggle();
	});
	
})
</script>
{include file="footer.html"}